// invoked in worker
require('./tags');
think.beforeStartServer(async() => {
	// 加载网站配置
	const setup = await think.model('system/setup').selectAll();

	think.config('setup', setup);

	await think.model('taoke/goods').execute("truncate table tbk_goods_temp");
//	//测试用公众号
//think.config('setup.weixinAppid', 'wx07674bdb6eb0563b');
//	think.config('setup.weixinSecret', '8f5fcb15c44fe93bef6ea16a65f53c25');

});